package com.zhou.dao;

import com.github.pagehelper.Page;
import com.zhou.pojo.Setmeal;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

public interface SetmealMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Setmeal record);

    int insertSelective(Setmeal record);

    Setmeal selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Setmeal record);

    int updateByPrimaryKey(Setmeal record);

    void setSetmealAndCheckGroup(HashMap<String, Integer> map);

    Page<Setmeal> pageQuery(String queryString);

    List<Integer> findCheckGroupIdsBySetmaealId(Integer id);

    void deleteAssociation(Integer id);

    List<Setmeal> findAll();

    Setmeal findById(Integer setmealId);

    List<Map<String, Object>> findSetmealCount();
}